home *** CD-ROM | disk | FTP | other *** search
-
-
- /*\
- |*|----====< ".WAV" file format >====----
- |*|
- |*| 4 bytes 'RIFF'
- |*| 4 bytes <length>
- |*| 4 bytes 'WAVE'
- |*| 4 bytes 'fmt '
- |*| 4 bytes <length> ; 10h - length of 'data' block
- |*| 2 bytes 01 ; format tag
- |*| 2 bytes 01 ; channels (1=mono, 2=stereo)
- |*| 4 bytes xxxx ; samples per second
- |*| 4 bytes xxxx ; average samples per second
- |*| 2 bytes 01 ; block alignment
- |*| 2 bytes 08 ; bits per sample
- |*| 4 bytes 'data'
- |*| 4 bytes <length>
- |*| bytes <sample data>
- |*|
- |*| Note: the sample data must end on an even byte boundary.
- |*| All numeric data fields are in the Intel format
- |*| of low-high byte ordering.
- |*|
- \*/
-
-